package com.example.utils;

import com.example.entity.User;

import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.date.TimeInterval;

/**
 * 类Test.java的实现描述：TODO 测试类
 * 
 * @author anoksoft 2019年1月23日 下午1:29:52
 */
public class Test {

    public static void main(String[] args) throws Exception {
        User user1 = new User("小李", 18, CollUtil.newArrayList("Java", "C#"));
        TimeInterval time = DateUtil.timer();
        User user2 = CloneUtil.clone(user1);
        System.out.println(time.interval());
        user1.getSubjectList().add("VB.NET");
        System.out.println("项目更新,idea的git操作好麻烦");
        System.out.println(user1 == user2);
        System.out.println("user1" + user1.toString());
        System.out.println("user1" + user2.toString());

        System.out.println(PhoneUtil.checkPhoneNumber("17621715160", 86));
    }

}
